﻿@model MvcBoard.Domain.Entities.Board

@{
    ViewBag.Title = "Edit";
}

<h1>Edit</h1>

@using (Html.BeginForm("Edit", "Board", FormMethod.Post))
{
    @Html.HiddenFor( x => x.BoardID)
    <div>제목: @Html.EditorFor(x=>x.Title)</div>
    <div>내용: @Html.EditorFor(x=>x.Contents)</div>
    <input type="submit" value="추사/수정" />
    @Html.ActionLink("취소", "List");
}